<div id="masthead">
<h1><!-- TMPL_IF NAME="opacsmallimage" --><img alt="<!-- TMPL_VAR NAME="LibraryName" -->" src="<!-- TMPL_VAR NAME="opacsmallimage" -->" /><!-- /TMPL_IF -->Library Catalog Search</h1>
<div class="menu"><a href="/cgi-bin/koha/opac-main.pl">Search Home</a> | <a href="" onclick="openBasket(); return false;" title="A &quot;shopping cart&quot; for your selections">Book Bag<span id="basket"><script language="javascript" type="text/javascript">if(basketcount){ document.write(basketcount) };</script></span></a></div><br class="clear">
<!-- <!-- TMPL_IF NAME="loggedinusername" -->
<div class="menu"><span class="loggedin">You are logged in as <!-- TMPL_LOOP NAME="USER_INFO" --><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a><!-- /TMPL_LOOP --></span> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></div>
<!-- /TMPL_IF --> -->

<!-- TMPL_IF NAME="loggedinusername" --><div id="members">
	<ul>
		<li>Logged in as <span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></li>
		<li><a href="/cgi-bin/koha/opac-shelves.pl">My Book Lists</a></li>
		<li><a href="/cgi-bin/koha/opac-user.pl">My Account</a></li>
		<li><a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></li>
	</ul>	
</div>
<!-- TMPL_ELSE -->
	<div id="members">
		<a class="card" href="/cgi-bin/koha/opac-user.pl">Log in to access<br /> cardholder features</a>
	</div>
<!-- /TMPL_IF -->
</div>